﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AI_Tank.Game
{
    public struct Teams
    {
        private int id;
        private int point;

        public int Id { get => id; }
        public int Point { get => point; }


        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <param name="point"></param>
        public void SetTeamData(int id, int point)
        {
            this.id = id;
            this.point = point;
        }
    }

    public class LegEndData
    {
        private List<Teams> teams = new List<Teams>();
        public LegEndData(List<Teams> teams)
        {
            for (int i = 0; i < teams.Count; i++)
            {
                this.teams.Add(teams[i]);
            }
        }
        public List<Teams> Teams { get => teams; }
    }
}
